package com.gxa.insurance.mapper;

import com.gxa.insurance.pojo.S4Shop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wang li sha
 * @date 2022-06-06 16:42
 */
public interface S4ShopMapper {
    Integer insert(S4Shop s4Shop);

    Integer update(S4Shop s4Shop);

    S4Shop selectById(Integer id);

    Integer deleteById(@Param("id") Integer id);

    List<S4Shop> selectAll();

    List<S4Shop> selectAllByPage(@Param("offset") Integer offset, @Param("size") Integer size);

    List<S4Shop> selectLikeName(@Param("name") String name);

    List<S4Shop> selectLikeNameByPage(@Param("offset") Integer offset, @Param("size") Integer size, @Param("name") String name);
}
